package com.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Chunk {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String md5;

    private Integer chunkIndex;


    @TableField(exist = false)
    private String fileName;

    @TableField(exist = false)
    private Long fileSize;

    @TableField(exist = false)
    private Integer chunkTotal;

    @TableField(exist = false)
    private Long chunkSize;
}
